package cn.edu.ctbu.sbadmin.school.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 *
 *
 * @author Fromtech
 * @email tms@fromtech.net
 * @date 2018-11-19 15:45:15
 */
@Data
@TableName(value = "dim_term")
public class DimTermDO implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "序号")

    private Integer id;
    //名称
    @Excel(name = "学期名")
    private String name;


    //键名
    @Excel(name = "`year`")
    private Integer year;

    /**
     * 第一周的周一是什么日期
     */
    private LocalDateTime startDate;

}